angular.module('App').controller('PrintModelManageController', ['$scope', '$sce','$http', 'BaseFunction', 'ParameterService', 
    function($scope, $sce, $http, BaseFunction, ParameterService) {
        $scope.serverUrl = '';

        //获取打印服务器地址

        ParameterService.getParameterValue(null,'PublicServer', function(dataUrl){
            $scope.serverUrl = dataUrl + '/PrintService';
        });   
        
        $scope.trustSrc = function(src) {
            return $sce.trustAsResourceUrl(src);
        }
  
    }
]);